An INSERT query is used to add new rows of data to a table in a database. It is a fundamental part of Data Manipulation Language (DML).